package binary;

/**
 * 补码的演示
 */
public class ComplementDemo {
    public static void main(String[] args) {

        int max=Integer.MAX_VALUE;
        int min=Integer.MIN_VALUE;
        System.out.println(Integer.toBinaryString(max));
        System.out.println(Integer.toBinaryString(-53));
        System.out.println(Integer.toHexString(min));


    }
}
